package com.zzuli.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Comment {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer postid;

    private String username;

    private String content;

    private Date createtime;

    private String headerimg;

}
